package zarzadzaniepracownikami;

import java.util.Date;


public class Worker {
	
	private String name;
	private String surname;
	private long Id;
	private String position;
	private Date firstDayOfWork;
	private String Pesel;
	private String Password;
	
	public Worker()
	{
		
	}
	
	
	public Worker(String name, String surname, long id, String position,
			Date firstDayOfWork, String pesel) {
		this.name = name;
		this.surname = surname;
		Id = id;
		this.position = position;
		this.firstDayOfWork = firstDayOfWork;
		Pesel = pesel;
	}
	
	public Worker(String name, String surname, long id, String possition) {
		this.name=name;
		this.surname=surname;
		this.position=possition;
		this.Id=id;
	}


	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public long getId() {
		return Id;
	}
	public void setId(long id) {
		Id = id;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public Date getFirstDayOfWork() {
		return firstDayOfWork;
	}
	public void setFirstDayOfWork(Date firstDayOfWork) {
		this.firstDayOfWork = firstDayOfWork;
	}
	public String getPesel() {
		return Pesel;
	}
	public void setPesel(String pesel) {
		Pesel = pesel;
	}


	public String getPassword() {
		return Password;
	}


	public void setPassword(String password) {
		Password = password;
	}
	

}
